﻿using Common.RunModels.ES;

namespace Log.Data.Models
{
    /// <summary>
    /// 设备参数记录ES模型
    /// </summary>
    public class ElasticsearchEquipmentParamLogModel : ElasticsearchLogModelBase
    {
        /// <summary>
        /// 组织ID
        /// </summary>
        public string orgId { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public string workCode { get; set; }

        /// <summary>
        /// 线体编号
        /// </summary>
        public string lineCode { get; set; }

        /// <summary>
        /// 线体名称
        /// </summary>
        public string lineName { get; set; }

        /// <summary>
        /// 工位编号
        /// </summary>
        public string workstageCode { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public string equipmentCode { get; set; }

        /// <summary>
        /// 设备类型，如：老化设备
        /// </summary>
        public string equipmentType { get; set; }

        /// <summary>
        /// 设备参数编码，英文名
        /// </summary>
        public string paramCode { get; set; }

        /// <summary>
        /// 设备参数名称，如老化设备，参数关键字：电压、电流、功率因数、老化开始/结束时间、温度。。。
        /// </summary>
        public string paramName { get; set; }

        /// <summary>
        /// 设备参数值
        /// </summary>
        public string paramValue { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string operateUserName { get; set; }
    }
}
